package com.qf.java2106.pojo;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @author ghy
 * @version 1.0
 * @date
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Device implements Serializable {

    private Integer id;
    private String deviceName;
    private Double price;
    private String deviceType;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date proDate;

}
